package gui.view.android.graphics.factories;

import gui.view.android.graphics.JavaPath;
import gui.view.android.graphics.JavaPathDashPathEffect;

import com.nightpiter.view.graphics.Path;
import com.nightpiter.view.graphics.abstaractions.AbstractPathDashPathEffect;
import com.nightpiter.view.graphics.abstaractions.AbstractPathDashPathEffect.Style;
import com.nightpiter.view.graphics.factories.PathDashPathEffectFactory;

public class JavaPathDashPathEffectFactory extends PathDashPathEffectFactory {

	@Override
	public AbstractPathDashPathEffect create(Path shape, float advance,
			float phase, Style style) {
		return new JavaPathDashPathEffect((JavaPath) shape.getDelegate(),
				advance, phase, style);
	}

}
